ArcPad XML Reference
Used to define a CheckBox control in a form
Send Feedback

Glossary Item Box

Used to define a CheckBox control in a form:

 

Copy Code
<?xml version="1.0" encoding="UTF-8" ?>
<ArcPad>
  <LAYER name="Streetlights">
    <SYMBOLOGY>
      <VALUEMAPRENDERER lookupfield="working">
        <EXACT value="F" label="Working? No.">
          <TRUETYPEMARKERSYMBOL character="33" font="ESRI ArcPad" fontstyle="regular" fontsize="8" angle="360" fontcolor="255,0,0"/>
        </EXACT>
        <EXACT value="T" label="Working? Yes.">
          <TRUETYPEMARKERSYMBOL character="33" font="ESRI ArcPad" fontstyle="regular" fontsize="8" angle="360" fontcolor="0,255,0"/>
        </EXACT>
        <OTHER>
          <TRUETYPEMARKERSYMBOL character="35" font="ESRI ArcPad" fontstyle="regular" fontsize="8" angle="360" fontcolor="0,0,0"/>
        </OTHER>
      </VALUEMAPRENDERER>
    </SYMBOLOGY>
    <FORMS>
      <EDITFORM caption="Streetlights" width="130" height="130" name="" tabsvisible="true" attributespagevisible="true" symbologypagevisible="true" geographypagevisible="true">
        <PAGE caption="Streetlights(1)" name="pgPage1">
          <LABEL name="lblAsset" x="10" y="10" width="35" height="10" caption="Asset No." group="false" border="false"/>
          <EDIT name="txtAssesNo" x="55" y="9" width="65" height="12" defaultvalue="" group="false" tabstop="true" border="true" readonly="false" required="false" sip="false" field="ASSET_NO"/>
          <CHECKBOX name="chkWorking" x="10" y="25" width="50" height="10" defaultvalue="" caption="Working?" group="false" tabstop="true" border="false" readonly="false" required="false" field="WORKING" alignment="center"/>
          <LABEL name="lnlAssigned" x="10" y="40" width="41" height="8" caption="Assigned To" group="false" border="false"/>
          <EDIT name="lblAssignTo" x="55" y="39" width="65" height="12" defaultvalue="" group="false" tabstop="true" border="true" readonly="false" required="false" sip="false" field="ASSIGN_TO"/>
          <EDIT name="txtComments" x="10" y="65" width="110" height="34" defaultvalue="" group="false" tabstop="true" border="true" readonly="false" required="false" sip="false" field="COMMENTS" multiline="true"/>
          <LABEL name="lblComments" x="10" y="53" width="36" height="8" caption="Comments" group="false" border="false"/>
        </PAGE>
        <PAGE caption="Streetlights(2)" name="pgPage2">
          <LABEL name="lblYear" x="10" y="15" width="44" height="8" caption="Year Installed" group="false" border="false"/>
          <LABEL name="lblSDate" x="10" y="37" width="44" height="8" caption="Service Date" group="false" border="false"/>
          <EDIT name="txtYear" x="60" y="14" width="60" height="12" defaultvalue="" group="false" tabstop="true" border="true" readonly="false" required="false" sip="false" field="YEAR"/>
          <DATETIME name="dtpServDate" x="60" y="35" width="60" height="12" defaultvalue="" group="false" tabstop="true" border="true" readonly="false" required="false" sip="false" field="SERVDATE" allownulls="true"/>
          <IMAGEBOX name="imgLogo" x="11" y="54" width="109" height="70" group="false" tabstop="false" border="false" readonly="false" required="false"/>
        </PAGE>
        <PAGE caption="Streetlights(3)" name="pgPage3">
          <LABEL name="lblPoleType" x="7" y="15" width="36" height="8" caption="Pole Type" group="false" border="false"/>
          <LABEL name="lblLampType" x="7" y="58" width="36" height="14" caption="Lamp Type" group="false" border="false"/>
          <LISTBOX name="lboLampType" x="54" y="59" width="64" height="17" listtable="sd_streetlights.dbf" listvaluefield="LAMPTYPE" listtextfield="LAMPTYPE" group="false" tabstop="true" border="true" readonly="false" required="false" showvalues="false" sort="true" field="LAMPTYPE" hscroll="false" vscroll="true">
            <LISTITEM value="LT-21" text="LT-21"/>
            <LISTITEM value="LT-42" text="LT-42"/>
          </LISTBOX>
          <RADIOBUTTON name="rdoPoleTypeA" x="54" y="10" width="50" height="12" caption="Type A" group="true" tabstop="true" border="false" readonly="false" required="false" value="PT A" field="POLETYPE"/>
          <RADIOBUTTON name="rdoPoleTypeB" x="54" y="20" width="50" height="12" caption="Type B" group="false" tabstop="true" border="false" readonly="false" required="false" value="PT B" field="POLETYPE"/>
        </PAGE>
      </EDITFORM>
    </FORMS>
  </LAYER>
</ArcPad>
©2012. All Rights Reserved.